-- GENERATED SPELL FOR [Colonel Kurzen] --


function spell0_813(pUnit, Event) --@Smoke Bomb,Self--
pUnit:FullCastSpellOnTarget(8817,pUnit)
pUnit:RegisterEvent('Sorts_813', 3251, 1)
end

function Sorts_813(pUnit, Event)
local choix_sorts_813 = math.random(0, 0)
if choix_sorts_813 == 0 then
pUnit:RegisterEvent('spell0_813', 1, 1)
end
end

function mob813_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_813', math.random(1500, 3000), 1)
end

function mob813_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob813_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob813_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(813, 1, 'mob813_Action')
RegisterUnitEvent(813, 2, 'mob813_Leave')
RegisterUnitEvent(813, 3, 'mob813_Kill')
RegisterUnitEvent(813, 4, 'mob813_Die')
